﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminGroupMenu.ascx.cs" Inherits="CMS.Controls.AdminGroup.AdminGroupMenu" %>

 <asp:Literal ID="ltMessage" runat="server" />
 <!-- / message-->                      

 <div class="widget" style="margin-top: 20px">
    <div class="head"><h5 class="iCog3">Quyền Xuất bản, Trả bài, Gỡ khóa, Nổi bật chuyên mục, Nổi bật trang chủ</h5></div>
    <div class="dataTables_wrapper">
        <div class="dataTables_filter" style="top: -39px;">
            <label>                                       
                <asp:LinkButton ID="btnSave" CssClass="btn14 ml10 topDir" ToolTip="Lưu lại" runat="server" onclick="BtnSave">
                    <img src="/images/icons/dark/check.png" alt="Lưu lại"/>
                </asp:LinkButton>   
            </label>
        </div>
    </div>

    <asp:ListView ID="lvGroupMenu" DataKeyNames="AdminMenuId" runat="server" OnItemDataBound="lvGroupMenu_ItemDataBound">
    <LayoutTemplate>
        <table width="100%" cellspacing="0" cellpadding="0" class="tableStatic">
	        <thead>
		        <tr>
                    <td class="w30"></td>			        
			        <td>Tên chức năng</td>
                    <td style="width: 530px;">Phân quyền</td>			                          
		        </tr>
	        </thead>
	        <tbody>
                <tr id="itemPlaceholder" runat="server" />				
	        </tbody>		        		       
        </table>
    </LayoutTemplate>
    <ItemTemplate>
        <tr>
            <td><asp:CheckBox ID="cbItem" runat="server"/></td>		    
		    <td><%# Eval("Name")%></td>
            <td class="<%# Container.DataItemIndex % 2 == 0 ? "bg-odd" : "bg-even" %>">                    
                <asp:CheckBoxList ID="chkLstPermission" RepeatDirection="Horizontal" runat="server"/>
            </td>                    
	    </tr>	
    </ItemTemplate>
    </asp:ListView>
</div>
<!-- / list group menu -->
